<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>

<rad:useBean id="rankViewHelper"/>
<html>
<body>
<portal:box title="Register" width="50%" align="center">
    <portal:subSection title="Please enter your personal information">
        <div id="register">
            <html:form action="register.do" method="post">
                <div id="register-fields">
                    <label for="firstName"><b>First Name:</b></label>
                    <html:text property="firstName" maxlength="25"/><br>

                    <label for="middleInitial">Middle Initial:</label>
                    <html:text property="middleInitial" maxlength="1"/>

                    <label for="lastName"><b>Last Name:</b></label>
                    <html:text property="lastName" maxlength="50"/><br>

                    <label for="rankId">Rank:</label>
                    <html:select property="rankId" styleId="rankId">
                        <html:optionsCollection name="rankViewHelper"
                                                property="all"
                                                label="abbreviation"
                                                value="id"/>
                    </html:select>
                        <%--                        <label><b>COMM:</b></label>
                     <html:text property="comm" maxlength="50" /><br>

                     <label><b>DSN:</b></label>
                     <html:text property="dsn" maxlength="50" /><br>--%>

                    <label for="email"><b>Email:</b></label>
                    <html:text property="email" maxlength="50"/><br>

                    <!--<label><b>Organization:</b></label>-->
                    <%--<html:text property="organization" maxlength="50"/><br>--%>
                </div>
                <br>

                <div class="buttons">
                    <html:submit value="Register" styleClass="button"/>
                </div>
            </html:form>
        </div>
    </portal:subSection>
</portal:box>
</body>
</html>